• To check whether the user was forced to login if he naivagates to checkout page without login

    4:57:10 AM / 00:00:19:494 Fail

    To check whether the user was forced to login if he naivagates to checkout page without login
    02.13.2022 4:57:10 AM 02.13.2022 4:57:30 AM 00:00:19:494 · #test-id=1
    StatusTimestampDetails
    Pass 4:57:11 AM Ferroro Rocher is entered in Text Box Search successfully
    Pass 4:57:14 AM Searchis clicked successfully
    Pass 4:57:15 AM Sortis clicked successfully
    Pass 4:57:15 AM Sortis clicked successfully
    Fail 4:57:29 AM To check whether the user was forced to login if he naivagates to checkout page without login is failed
    Info 4:57:29 AM
    Fail 4:57:29 AM org.openqa.selenium.TimeoutException: Expected condition failed: waiting for presence of element located by: By.id: price_inside_buybox (tried for 10 second(s) with 500 milliseconds interval)
    Info 4:57:29 AM
    Fail 4:57:29 AM [org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95), org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272), com.assignment.utils.SeleniumActions.waitForElementToBePresent(SeleniumActions.java:54), com.assignment.utils.SeleniumActions.getText(SeleniumActions.java:25), com.assignment.pages.pagecomponents.ProductSummaryComponent.getPriceOfOneItem(ProductSummaryComponent.java:23), com.assignment.pages.ProductDescriptionPage.getPriceOfOneItem(ProductDescriptionPage.java:25), com.assignment.facade.AddToCartFacade.addProductWithMentionedQtyToCart(AddToCartFacade.java:16), com.assignment.tests.CheckoutPageTests.verifyUserNavigatingToLoginPageOnCheckout(CheckoutPageTests.java:36), java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method), java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62), java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.base/java.lang.reflect.Method.invoke(Method.java:566), org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124), org.testng.internal.Invoker.invokeMethod(Invoker.java:583), org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719), org.testng.internal.TestMethodWithDataProviderMethodWorker.call(TestMethodWithDataProviderMethodWorker.java:71), org.testng.internal.TestMethodWithDataProviderMethodWorker.call(TestMethodWithDataProviderMethodWorker.java:14), java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264), java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515), java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264), java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128), java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628), java.base/java.lang.Thread.run(Thread.java:829)]
    Info 4:57:30 AM
  • To check whether the user can add cheapest chocolate to the cart and verify the total cost

    4:57:10 AM / 00:00:19:476 Fail

    To check whether the user can add cheapest chocolate to the cart and verify the total cost
    02.13.2022 4:57:10 AM 02.13.2022 4:57:30 AM 00:00:19:476 · #test-id=2
    StatusTimestampDetails
    Pass 4:57:11 AM Ferroro Rocher is entered in Text Box Search successfully
    Pass 4:57:14 AM Searchis clicked successfully
    Pass 4:57:15 AM Sortis clicked successfully
    Pass 4:57:15 AM Sortis clicked successfully
    Fail 4:57:29 AM To check whether the user can add cheapest chocolate to the cart and verify the total cost is failed
    Info 4:57:29 AM
    Fail 4:57:29 AM org.openqa.selenium.TimeoutException: Expected condition failed: waiting for presence of element located by: By.id: price_inside_buybox (tried for 10 second(s) with 500 milliseconds interval)
    Info 4:57:30 AM
    Fail 4:57:30 AM [org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:95), org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:272), com.assignment.utils.SeleniumActions.waitForElementToBePresent(SeleniumActions.java:54), com.assignment.utils.SeleniumActions.getText(SeleniumActions.java:25), com.assignment.pages.pagecomponents.ProductSummaryComponent.getPriceOfOneItem(ProductSummaryComponent.java:23), com.assignment.pages.ProductDescriptionPage.getPriceOfOneItem(ProductDescriptionPage.java:25), com.assignment.facade.AddToCartFacade.addProductWithMentionedQtyToCart(AddToCartFacade.java:16), com.assignment.tests.CheckoutPageTests.verifyTotalCartPriceInCheckoutPageTest(CheckoutPageTests.java:21), java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method), java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62), java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.base/java.lang.reflect.Method.invoke(Method.java:566), org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124), org.testng.internal.Invoker.invokeMethod(Invoker.java:583), org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719), org.testng.internal.TestMethodWithDataProviderMethodWorker.call(TestMethodWithDataProviderMethodWorker.java:71), org.testng.internal.TestMethodWithDataProviderMethodWorker.call(TestMethodWithDataProviderMethodWorker.java:14), java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264), java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515), java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264), java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128), java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628), java.base/java.lang.Thread.run(Thread.java:829)]
    Info 4:57:30 AM

Started

Feb 13, 2022 04:57:05 AM

Ended

Feb 13, 2022 04:57:30 AM

Tests Passed

0

Tests Failed

2

Tests
Log events

Timeline